
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 FmsMaterialConfig 分页列表
*/
export function getFmsMaterialConfigPagination(data: any) {
  return axios.get(`${context}/fmsMaterialConfig/pagination`, { params: data });
}


/**
 * 获取 FmsMaterialConfig 所有数据
*/
export function getFmsMaterialConfigAllList(data: any) {
  return axios.get(`${context}/fmsMaterialConfig/all`, { params: data });
}


/**
 * 获取 FmsMaterialConfig 详情
*/
export function getFmsMaterialConfigDetailById(id: any) {
  return axios.get(`${context}/fmsMaterialConfig/${id}`, { params:{id} });
}


/**
 * 新增 FmsMaterialConfig
*/
export function addFmsMaterialConfig(data: any) {
  return axios.post(`${context}/fmsMaterialConfig`, data);
}

/**
 * 修改 FmsMaterialConfig
*/
export function updateFmsMaterialConfig(data: any) {
  return axios.put(`${context}/fmsMaterialConfig`, data);
}

/**
 * 删除 FmsMaterialConfig
*/
export function batchRemoveFmsMaterialConfig(data: any) {
  return axios.post(`${context}/fmsMaterialConfig/batchRemove`, data);
}

    